.class Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;
.super Landroid/content/BroadcastReceiver;
.source "ElementWorkspaceControlBtn.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementWorkspaceControlBtn;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "UninstallBroadcastReceiver"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;


# direct methods
.method private constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V
    .locals 0
    .parameter

    .prologue
    .line 1747
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 1747
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 7
    .parameter "context"
    .parameter "intent"

    .prologue
    const/4 v6, 0x0

    const/4 v5, 0x1

    .line 1750
    const-string v2, "ElementWorkspaceControlBtn"

    const-string v3, "[UninstallBroadcastReceiver.onReceive()] <<<<<<<<<<<<<<<<<<<<<<<"

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1751
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[UninstallBroadcastReceiver.onReceive()] intent.getAction()="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1752
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[UninstallBroadcastReceiver.onReceive()] isReplace="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "android.intent.extra.REPLACING"

    invoke-virtual {p2, v4, v6}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1753
    const-string v2, "android.intent.extra.REPLACING"

    invoke-virtual {p2, v2, v6}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    .line 1754
    .local v0, isReplace:Z
    if-nez v0, :cond_0

    .line 1756
    invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v2}, Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String;

    move-result-object v1

    .line 1757
    .local v1, packageName:Ljava/lang/String;
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[UninstallBroadcastReceiver.onReceive()] packageName="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1758
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2, v6, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$3000(Lcom/nemustech/regina/ElementWorkspaceControlBtn;ILjava/lang/String;)V

    .line 1759
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2, v5, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$3000(Lcom/nemustech/regina/ElementWorkspaceControlBtn;ILjava/lang/String;)V

    .line 1760
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$3100(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Ljava/lang/String;)V

    .line 1762
    .end local v1           #packageName:Ljava/lang/String;
    :cond_0
    return-void
.end method
